package com.drawu.drawuspring.service;

import com.drawu.drawuspring.domain.po.Participants;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 活动参与者记录表[5](@ref) 服务类
 * </p>
 *
 * @author hui
 * @since 2025-04-01
 */

public interface IParticipantsService extends IService<Participants> {

    void removeByActId(Long id);

    List<Participants> queryByActId(Long id);

    boolean removeByActIdAndUserId(Long activityId, Integer userId);

    void savePat(List<Integer> userIds, Integer id);

    List<Integer> queryByActId();
}
